package com.module.business.web;


import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.module.business.entity.User;

import org.springframework.stereotype.Controller;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author chengluqiang
 * @since 2019-03-04
 */
@Controller
@RequestMapping("/user")
public class UserController {
	
	@PostMapping("/save")
	public void save(@RequestBody User user) {
		System.out.println(user);
	}
}

